﻿<?xml version="1.0" encoding="utf-8" ?>
<!-- Config file for generating VITA entities for SQLite BookStore database. 
  Note: The populated database used in this sample is in ConfigSamples subfolder
-->
<Entitygen>
  <Provider>SQLite</Provider>
  <ConnectionString>Data Source=..\..\ConfigSamples\VitaBooksSQLite.db;foreign keys=true</ConnectionString>
  <Namespace>Vita.Samples.Books</Namespace>
  <AppClassName>BookStoreApp</AppClassName>
  <!-- Will go into bin folder. -->
  <OutputPath>_bookEntities_SQLite.cs</OutputPath>
  <!-- List of schema names in database. If empty, all schemas are included. -->
  <Schemas></Schemas>
  <!--Comma-delimited list of DbFirstOptions enum values -->
  <Options>Binary16AsGuid, BinaryKeysAsGuid, AutoOnGuidPrimaryKeys, AddOneToManyLists,GenerateConsoleAppCode,UtcDates</Options>
  <!-- AutoValues lists column/property names that are auto-values (automatically generated), so code generator will add 
     [Auto(AutoType.*)] attribute to these properties. Comma-delited list of pairs <columnName>:<AutoType>  -->
  <AutoValues>ModifiedData:UpdatedOn,DateCreated:CreatedOn</AutoValues>
  <ForceDataTypes>CreatedOn:System.DateTime,CreatedIn:System.Guid,UpdatedIn:System.Guid</ForceDataTypes>

</Entitygen>